package com.SSM.service;

import com.SSM.dao.AboutMapper;
import com.SSM.pojo.About;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AboutServiceImpl implements AboutService {
    @Autowired
    private AboutMapper aboutMapper;

    public AboutMapper getAboutMapper() {
        return aboutMapper;
    }

    public void setAboutMapper(AboutMapper aboutMapper) {
        this.aboutMapper = aboutMapper;
    }

    public List<About> getAll() {
        return aboutMapper.getAll();
    }
}
